Cutting stock problem